package ch.ethz.fcl.metrobuzz.algorithm.sort;

/**
 * @author crazyfrog
 * Data structure used for sort
 * contains value and index information
 */
public class SortData {
	private float value;
	private int index;
	
	/**
	 * @param value
	 * @param index
	 */
	public SortData(float value, int index){
		this.value = value;
		this.index = index;
	}
	
	public float getValue(){
		return value;
	}

	public int getIndex(){
		return index;
	}
}
